Release 10.1A: OpenEdge Development:
Progress 4GL Handbook


Creating visual objects

You can create all the kinds of visual objects you’ve seen in this book. There is a uniform syntax for all of them:

CREATE object-type handle [ IN WIDGET-POOL pool-name ]  
  [ASSIGN attribute = attribute-value [attribute = attribute-value ] . . . ] 
  [ trigger-phrase ] . 

When you create an object dynamically you must associate it with a HANDLE variable (or possibly a handle field in a temp-table). This is the only way to reference the object after you create it. Unlike a static object, it has no name.

The WIDGET-POOL phrase lets you define a special storage area in memory where you want the object’s description to be located. The "Using named widget pools" section describes this phrase in more detail.


Copyright © 2005 Progress Software Corporation
www.progress.com
Voice: (781) 280-4000
Fax: (781) 280-4095